problem in Show and Design method
kama.kuke
Iran
Hi
I use fastreport in c# .net 2010
I have a problem some times in Show and Design method
Error
///
System.TypeInitializationException: The type initializer for 'FastReport.Design.PageDesigners.Page.ReportWorkspace' threw an exception. ---> System.FormatException: Input string was not in a correct format.
at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
at FastReport.Utils.Converter.FromString(Type type, String value)
at FastReport.Utils.Converter.StringToFloat(String value)
at FastReport.Design.PageDesigners.Page.ReportWorkspace..cctor()
///
may you help me to solve this problem?
tax a lot
kuke
kuke.kuke@gmail.com
FastReport.Config arises this problem
Config:
///
<?xml version="1.0" encoding="utf-8"?>
<Config>
<Forms>
<DesignerForm Maximized="1" Left="-4" Top="-4" Width="1288" Height="778"/>
<PreviewForm Maximized="1" Left="-4" Top="-4" Width="1288" Height="778"/>
</Forms>
<UIStyle Style="Office2007Blue"/>
<Language/>
<Plugins/>
<Preview Zoom="1" OutlineWidth="150"/>
<Designer RecentFiles="">
<Report Units="Centimeters" SnapSizeMillimeters="2/5" SnapSizeCentimeters="0/25" SnapSizeInches="0/1" SnapSizeHundrethsOfInch="10" ShowGrid="1" SnapToGrid="1" DottedGrid="1" MarkerStyle="Corners" BandStructureSplitter="120" Scale="1" AutoGuides="0" ClassicView="0" EditAfterInsert="0"/>
<DockNew Text="<dotnetbarlayout version="6" zorder="3,4,1,2"><docksite size="0" dockingside="Top" originaldocksitesize="0" /><docksite size="0" dockingside="Bottom" originaldocksitesize="0"><dockcontainer orientation="1" w="0" h="0"><barcontainer w="0" h="95"><bar name="MessagesWindowBar" dockline="0" layout="2" dockoffset="0" state="2" dockside="4" visible="false"><items><item name="MessagesWindow" origBar="" origPos="-1" pos="0" visible="false" /></items></bar></barcontainer></dockcontainer></docksite><docksite size="0" dockingside="Left" originaldocksitesize="0" /><docksite size="250" dockingside="Right" originaldocksitesize="0"><dockcontainer orientation="1" w="0" h="0"><barcontainer w="247" h="314"><bar name="DictionaryWindowBar" dockline="0" layout="2" dockoffset="0" state="2" dockside="2" visible="true" seldocktab="0"><items><item name="DictionaryWindow" origBar="" origPos="-1" pos="0" /><item name="ReportTreeWindow" origBar="" origPos="-1" pos="1" /></items></bar></barcontainer><barcontainer w="247" h="327"><bar name="PropertiesWindowBar" dockline="0" layout="2" dockoffset="317" state="2" dockside="2" visible="true"><items><item name="PropertiesWindow" origBar="" origPos="-1" pos="0" /></items></bar></barcontainer></dockcontainer></docksite><bars><bar name="StandardToolbar" dockline="0" layout="0" dockoffset="0" state="2" dockside="3" visible="true" /><bar name="TextToolbar" dockline="1" layout="0" dockoffset="0" state="2" dockside="3" visible="true" /><bar name="BorderToolbar" dockline="1" layout="0" dockoffset="537" state="2" dockside="3" visible="true" /><bar name="LayoutToolbar" dockline="2" layout="0" dockoffset="0" state="2" dockside="3" visible="false" /><bar name="StyleToolbar" dockline="2" layout="0" dockoffset="0" state="2" dockside="3" visible="false" /><bar name="ObjectsToolbar" dockline="0" layout="0" dockoffset="0" state="2" dockside="1" visible="true" /></bars></dotnetbarlayout>"/>
<DictionaryWindow DescriptionHeight="70"/>
<PropertiesWindow Sort="CategorizedAlphabetical"/>
<TextToolbar MruFonts=""/>
<Code EnableVirtualSpace="1" UseSpaces="1" AllowOutlining="1" TabSize="2" LineNumbers="1"/>
</Designer>
</Config>
///
Is not There any One to help me?
I use fastreport in c# .net 2010
I have a problem some times in Show and Design method
Error
///
System.TypeInitializationException: The type initializer for 'FastReport.Design.PageDesigners.Page.ReportWorkspace' threw an exception. ---> System.FormatException: Input string was not in a correct format.
at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
at FastReport.Utils.Converter.FromString(Type type, String value)
at FastReport.Utils.Converter.StringToFloat(String value)
at FastReport.Design.PageDesigners.Page.ReportWorkspace..cctor()
///
may you help me to solve this problem?
tax a lot
kuke
kuke.kuke@gmail.com
FastReport.Config arises this problem
Config:
///
<?xml version="1.0" encoding="utf-8"?>
<Config>
<Forms>
<DesignerForm Maximized="1" Left="-4" Top="-4" Width="1288" Height="778"/>
<PreviewForm Maximized="1" Left="-4" Top="-4" Width="1288" Height="778"/>
</Forms>
<UIStyle Style="Office2007Blue"/>
<Language/>
<Plugins/>
<Preview Zoom="1" OutlineWidth="150"/>
<Designer RecentFiles="">
<Report Units="Centimeters" SnapSizeMillimeters="2/5" SnapSizeCentimeters="0/25" SnapSizeInches="0/1" SnapSizeHundrethsOfInch="10" ShowGrid="1" SnapToGrid="1" DottedGrid="1" MarkerStyle="Corners" BandStructureSplitter="120" Scale="1" AutoGuides="0" ClassicView="0" EditAfterInsert="0"/>
<DockNew Text="<dotnetbarlayout version="6" zorder="3,4,1,2"><docksite size="0" dockingside="Top" originaldocksitesize="0" /><docksite size="0" dockingside="Bottom" originaldocksitesize="0"><dockcontainer orientation="1" w="0" h="0"><barcontainer w="0" h="95"><bar name="MessagesWindowBar" dockline="0" layout="2" dockoffset="0" state="2" dockside="4" visible="false"><items><item name="MessagesWindow" origBar="" origPos="-1" pos="0" visible="false" /></items></bar></barcontainer></dockcontainer></docksite><docksite size="0" dockingside="Left" originaldocksitesize="0" /><docksite size="250" dockingside="Right" originaldocksitesize="0"><dockcontainer orientation="1" w="0" h="0"><barcontainer w="247" h="314"><bar name="DictionaryWindowBar" dockline="0" layout="2" dockoffset="0" state="2" dockside="2" visible="true" seldocktab="0"><items><item name="DictionaryWindow" origBar="" origPos="-1" pos="0" /><item name="ReportTreeWindow" origBar="" origPos="-1" pos="1" /></items></bar></barcontainer><barcontainer w="247" h="327"><bar name="PropertiesWindowBar" dockline="0" layout="2" dockoffset="317" state="2" dockside="2" visible="true"><items><item name="PropertiesWindow" origBar="" origPos="-1" pos="0" /></items></bar></barcontainer></dockcontainer></docksite><bars><bar name="StandardToolbar" dockline="0" layout="0" dockoffset="0" state="2" dockside="3" visible="true" /><bar name="TextToolbar" dockline="1" layout="0" dockoffset="0" state="2" dockside="3" visible="true" /><bar name="BorderToolbar" dockline="1" layout="0" dockoffset="537" state="2" dockside="3" visible="true" /><bar name="LayoutToolbar" dockline="2" layout="0" dockoffset="0" state="2" dockside="3" visible="false" /><bar name="StyleToolbar" dockline="2" layout="0" dockoffset="0" state="2" dockside="3" visible="false" /><bar name="ObjectsToolbar" dockline="0" layout="0" dockoffset="0" state="2" dockside="1" visible="true" /></bars></dotnetbarlayout>"/>
<DictionaryWindow DescriptionHeight="70"/>
<PropertiesWindow Sort="CategorizedAlphabetical"/>
<TextToolbar MruFonts=""/>
<Code EnableVirtualSpace="1" UseSpaces="1" AllowOutlining="1" TabSize="2" LineNumbers="1"/>
</Designer>
</Config>
///
Is not There any One to help me?